package com.google.code.yargon.ui.component;

import com.google.code.yargon.ui.RenderEngine;

public class DummyComponent extends Component {
	

	/**
	 * Waitig for better name... just simple framed box.
	 * 
	 */
	public DummyComponent(int x, int y, int w, int h, float alpha) {
		super(x, y, w, h, alpha);
	} 
	
	/**
	 * Render a framed box
	 * 
	 */
	@Override
	protected void render() {		
		RenderEngine.renderQuad(getX(), getY(), getWidth(), getHeight(), 0.0f, 0.0f, 0.0f, getAlpha(), true);
		RenderEngine.renderQuad(getX(), getY(), getWidth(), getHeight(), 1.0f, 1.0f, 1.0f, getAlpha(), false);	
	}
	
	@Override
	protected void update() {
		// Nothing to update
	}

	@Override
	protected void onClick(String id) {
		// Nothing to listen
	}
}
